Skip to content

feat: add any and list type in the CustomFieldValidation#76

Merged
ellanan merged 3 commits intomainfrom
feat/add-any-type-in-CustomFieldValidation
Feb 3, 2026
Merged

feat: add any and list type in the CustomFieldValidation#76
ellanan merged 3 commits intomainfrom
feat/add-any-type-in-CustomFieldValidation

Conversation

@ellanan
Copy link
Collaborator

@ellanan ellanan commented Jan 30, 2026

Type

  • Feature

    Implements a new feature

Description

  • add any and list type in the CustomFieldValidation

Dependencies

@github-actions
Copy link

github-actions bot commented Jan 30, 2026

Test Results

  1 files  ±0   55 suites  ±0   2s ⏱️ ±0s
356 tests ±0  356 ✅ ±0  0 💤 ±0  0 ❌ ±0 
361 runs  ±0  361 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit d5f0aae. ± Comparison against base commit e272e59.

♻️ This comment has been updated with latest results.

- Add FieldType literal union and named validation option interfaces
- Make CustomApiFieldBase a discriminated union on field_type
- Export getCommonValidation() helper for accessing common props
- Export getValidationFor() helper for type-safe field-specific access

Enables type-safe validation access after narrowing field_type.
@ellanan ellanan changed the title feat: add “any” type in the CustomFieldValidation feat: add any and list type in the CustomFieldValidation Feb 3, 2026
@ellanan ellanan merged commit 0a156e4 into main Feb 3, 2026
11 checks passed
@ellanan ellanan deleted the feat/add-any-type-in-CustomFieldValidation branch February 3, 2026 16:52
@github-actions
Copy link

github-actions bot commented Feb 3, 2026

🎉 This PR is included in version 31.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants